package http

import (
	"net/http"
)

// healthz is a liveness probe.
func healthz(w http.ResponseWriter, _ *http.Request) {
	w.WriteHeader(http.StatusOK)
}

// // readyz is a readiness probe.
// func readyz(isReady *atomic.Value) http.HandlerFunc {
// 	return func(w http.ResponseWriter, _ *http.Request) {
// 		if isReady == nil || !isReady.Load().(bool) {
// 			http.Error(w, http.StatusText(http.StatusServiceUnavailable), http.StatusServiceUnavailable)
// 			return
// 		}
// 		w.WriteHeader(http.StatusOK)
// 	}
// }
